home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
web
/
spiderweb
/
tools
/
Makefile
< prev
next >
Wrap
Makefile
|
1988-07-17
|
1KB
|
43 lines
#
DVI=dvi
CFLAGS=-DDEBUG -g -DSTAT
# Change the following three directories to match your installation
WEBSOURCE=$(HOME)/src/web# # root of the WEB source distribution
DEST=/usr/charybdis/ada/bin# # place where the executables go
MACROS=$(HOME)/tex/macros# # place where the macros go
MASTER=$(WEBSOURCE)/master# # master source directory
CTANGLE=ceetangle -I$(MASTER)
CWEAVE=ceeweave -I$(MASTER)
AWKTANGLE=ktangle -I$(MASTER)
depend: depend.o $(MASTER)/pathopen.o
cc $(CFLAGS) -o $(DEST)/depend depend.o $(MASTER)/pathopen.o
depend.c: depend.web
$(CTANGLE) depend
$(MASTER)/pathopen.c: $(MASTER)/pathopen.web # no change file
$(CTANGLE) $(MASTER)/pathopen
mv pathopen.h $(MASTER)
$(MASTER)/pathopen.o: $(MASTER)/pathopen.c
cc $(CFLAGS) -c $(MASTER)/pathopen.c
mv pathopen.o $(MASTER)
# This cleanup applies to every language
clean:
if [ -f WebMakefile ]; then exit 1; fi # don't clean the master!
if [ -f spiderman.tex ]; then exit 1; fi # don't clean the manual!
# -rm -f tangle.* weave.* common.* # remove links that may be obsolete
# -rm -f *.unsorted *.list grammar.web outtoks.web scraps.web
# -rm -f cycle.test spider.slog
-rm -f *.c *.o *.tex *.toc *.dvi *.log *.makelog *~ *.wlog *.printlog